<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>资源池</title>

    <!--引入公共的easyui文件头-->
    <%@include file="/WEB-INF/views/commons/common_easyui.jsp"%>

    <script type="text/javascript" src="/static/js/system/customerPoolList.js"></script>
</head>
<body>

<!--begin信息列表-->
<table id="customerPool_datagrid"></table>
<!--end信息列表-->

<!--begin左上角工具栏-->
<div id="customerPool_tb">
       <shiro:hasPermission name="potentialCustomer:assign">
         <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="assign">指派客户给某人</a>
       </shiro:hasPermission>
       <shiro:hasPermission name="potentialCustomer:receive">
            <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="receive">接收他/她</a>
       </shiro:hasPermission>

        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
    <br>
</div>
<!--end左上角工具栏-->

<%--begin指派给某人对话框--%>

<div id="assign_dialog" align="center">
    <form id="assign_form" method="post">
        <table style="margin-top: 20px;">
            <input type="hidden" name="id" id="assignId">
            <input type="hidden" name="tell" >
            <tr>
                <td>客户姓名:</td>
                <td><input class="easyui-textbox" name="name"></td>
            </tr>
            <tr>
                <td>客户qq:</td>
                <td><input class="easyui-textbox" name="qq" prompt="请选择意向班级" panelHeight="auto"></td>
            </tr>
            <tr>
                <td>接收人员:</td>
                <td><input class="easyui-combobox" name="targetFollowerName"  prompt="请选择指派的跟踪人员" data-options=
                        "url:'/employee/listAll',valueField:'username',
                        textField:'username',panelHeight:'auto'"></td>
            </tr>
        </table>
    </form>
</div>

<%--end指派给某人对话框--%>

<%--begin接收对话框--%>
<div id="receive_dialog" align="center">
    <form id="receive_form" method="post">
        <table style="margin-top: 20px;">
            <input type="hidden" name="id" id="receiveId">
            <input type="hidden" name="tell" >
            <tr>
                <td>客户姓名:</td>
                <td><input class="easyui-textbox" name="name"></td>
            </tr>
            <tr>
                <td>客户qq:</td>
                <td><input class="easyui-textbox" name="qq" prompt="请选择意向班级" panelHeight="auto"></td>
            </tr>
        </table>
    </form>
</div>
<%--end接收对话框--%>

<%-- begin接收底部按钮--%>
<div id="receive_bb">
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-save" data-cmd="receive_commit">提交</a>
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="receive_cancel">取消</a>
</div>
<%-- end接收底部按钮--%>

<%-- begin指派给某人底部按钮--%>
<div id="assign_bb">
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-save" data-cmd="assign_commit">提交</a>
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="assign_cancel">取消</a>
</div>
<%-- end指派给某人底部按钮--%>

</body>
</html>
